package com.bookmarket.entity;

/**
 * 模块类
 * @author 罗强
 * @date 2017/12/26 11:25
 */

import java.util.Date;

/**
 * 模块类别等级
 */
public class Module {
    private int moduleId;
    private String title;       //模块名
    private Date createTime;    //创建时间
    private Integer typeId;        //类型  内容
    private String target;      //打开方式
    private String belongTo;    //所属页面
    private String model;       //使用的模型
    private int status;         //模块的状态

    public Module(int moduleId, String title, Date createTime, Integer typeId, String target, String belongTo, String model) {
        this.moduleId = moduleId;
        this.title = title;
        this.createTime = createTime;
        this.typeId = typeId;
        this.target = target;
        this.belongTo = belongTo;
        this.model = model;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Module() {
    }

    public int getModuleId() {
        return moduleId;
    }

    public void setModuleId(int moduleId) {
        this.moduleId = moduleId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public String getBelongTo() {
        return belongTo;
    }

    public void setBelongTo(String belongTo) {
        this.belongTo = belongTo;
    }
}
